package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.BtyArchives;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 档案表 Mapper 接口
 * </p>
 * @author liuy
 * @since
 */
public interface BtyArchivesMapper extends BaseMapper<BtyArchives> {

    /**
     * 获取档案管理列表
     */
    Page<Map<String, Object>> list(@Param("page") Page page, @Param("condition") String condition, @Param("dm") String dm, @Param("tel") String tel, @Param("month") String month, @Param("status") String status);

    List<String>  getSecondShop();

    List<String> getNextShop(@Param("shopName")String shopName );

    List<BtyArchives> getAllShop();

    String getTelByName(@Param("xm")String xm);

}
